package com.hsp.demo_01;

import java.util.Scanner;

public class Demo_04 {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入您的名称：");
        String name = scanner.next();
        System.out.println("请输入您的年龄：");
        int age = scanner.nextInt();
        System.out.println("请输入您的薪水：");
        double salary = scanner.nextDouble();
        System.out.println("名称：" + name + "\n" +
                           "年龄：" + age + "\n" +
                           "薪水：" + salary );

    }
}
